package com.zhuangwei.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 项目配置
 *
 * @author LeviCoder
 * @create 2019-03-13 22:51
 */
@Component
@Data
public class ApplicationConfig {

    @Value("${application.name}")
    private String name;

    @Value("${application.version}")
    private String version;
}
